﻿@using FwProject.Settlement.Dto
@model SettlementAccountEnterDto
@{
    Layout = null;
}
<div class="modal-dialog">
    <div class="modal-content animated fadeIn">
        <form class="form-horizontal" action="/Finance/CreateAccount" method="post" novalidate="novalidate" data-ajax="true" data-ajax-success="ReloadAjaxCallbackgoback" data-ajax-failure="FailureAjaxCallback" data-ajax-method="Post" role="form">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
                <h4 class="modal-title">添加账户</h4>
            </div>
            <div class="modal-body">
                <div class="form-body">
                    @Html.AntiForgeryToken()
                    <div class="form-group">
                        @Html.LabelFor(o => o.Number, new { @class = "control-label col-md-3" })
                        <div class="col-md-6">
                            @Html.TextBoxFor(o => o.Number, new { @class = "form-control", placeholder = "编号" })
                            @Html.ValidationMessageFor(o => o.Number)
                        </div>
                    </div>
                    <div class="form-group">
                        @Html.LabelFor(o => o.Name, new { @class = "control-label col-md-3" })
                        <div class="col-md-6">
                            @Html.TextBoxFor(o => o.Name, new { @class = "form-control", placeholder = "名称" })
                            @Html.ValidationMessageFor(o => o.Name)
                        </div>
                    </div>
                    <div class="form-group" >
                        @Html.LabelFor(o => o.InitialDate, new { @class = "control-label col-md-3" })
                        <div class="col-md-6">
                            @Html.TextBoxFor(o => o.InitialDate, new { @class = "form-control" , autocomplete = "off"  })
                            @Html.ValidationMessageFor(o => o.InitialDate)
                        </div>
                    </div>
                    <div class="form-group">
                        @Html.LabelFor(o => o.InitialAmount, new { @class = "control-label col-md-3" })
                        <div class="col-md-6">
                            @Html.TextBoxFor(o => o.InitialAmount, new { @class = "form-control" })
                            @Html.ValidationMessageFor(o => o.InitialAmount)
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="reset" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="submit" class="btn btn-primary" data-loading-text="执行中...">保存</button>
            </div>
        </form>
    </div>
    <!-- /.modal-content -->
</div>




